package ch7;
//兽医测试
public class VeterinarianTest {
    public static void main(String[] args) {
        Veterinarian v=new Veterinarian("张三","13888889999",50);
        Crocodile c=new Crocodile("小乖乖",50,70,"公","史前巨鳄");
        Hamster h=new Hamster("小呆呆",80,70,"公");
        v.cure(c);
        v.cure(h);
    }
}
